package com.amarsoft.tpf.describe;

import java.util.Properties;

public class ConnectionDesc {
	private String name;
	private String className;
	private Properties p = new Properties();
	
	public synchronized void setProperties(Properties p) {
		this.p = p;
	}

	public synchronized void setProperties(String key, String value) {
		p.put(key, value);
	}

	public String getProperties(String key) {
		return (String) p.get(key);
	}
	
	public String getName() {
		return name;
	}
	
	public synchronized void setName(String name) {
		this.name = name;
	}
	
	public String getClassName() {
		return className;
	}
	
	public synchronized void setClassName(String className) {
		this.className = className;
	}
}
